package servicio;

import java.sql.SQLException;
import java.util.List;

import bean.Color;

public interface ColorService {

	public List<Color> listar() throws SQLException;
	public List<Color> buscarPorColor(String filtro,String situacion) throws SQLException;
	public List<Color> buscarPorAlias(String filtro,String situacion) throws SQLException;
	public List<Color> buscarPorAlias(String filtro) throws SQLException;
	public List<Color> buscarPorOrden(int filtro,String situacion) throws SQLException;
	public int actualizar(Color color) throws SQLException;
	public int insertar(Color color) throws SQLException;
	
}
